/*
* @Author: Marte
* @Date:   2017-05-19 10:37:32
* @Last Modified by:   Marte
* @Last Modified time: 2017-05-20 21:00:02
*/

'use strict';
var app=angular.module("app",["ngRoute","angularCSS"]);
app.config(["$routeProvider",function($routeProvider){
    $routeProvider
    .when("/home",{
        templateUrl:"template/home/home.html",
        controller:"homeCtrl",
        css:"template/home/home.css"

    })
    .when("/market",{
        templateUrl:"template/market/market.html",
        controller:"marketCtrl",
        css:"template/market/market.css"
    })
    .when("/shopping",{
        templateUrl:"template/shopping/shopping.html",
        controller:"shoppingCtrl",
        css:"template/shopping/shopping.css"
    })
    .when("/mine",{
        templateUrl:"template/mine/mine.html",
        controller:"mineCtrl",
        css:"template/mine/mine.css"
    })
    .otherwise("/home")

}])